package com.example.demo.po;

import java.util.Date;

public class News {
    private Integer id;

    private Integer worId;

    private String title;

    private String content;

    private String url;

    private String detialcontent;

    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWorId() {
        return worId;
    }

    public void setWorId(Integer worId) {
        this.worId = worId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getDetialcontent() {
        return detialcontent;
    }

    public void setDetialcontent(String detialcontent) {
        this.detialcontent = detialcontent == null ? null : detialcontent.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}